#ifndef _MISCFUNCTIONS_H
#define _MISCFUNCTIONS_H

void UseSkill(long slot);
void LootItem();
void DestroyItem(long index);
void RepairItems();
unsigned long InternalGetTime();
void MoveToMapXY(float X, float Y, unsigned long MapId = -1);
void FollowPlayer(long playerId);
unsigned long GetMapId();
void UseItemWrapper(unsigned long index);
void AutoLootOnOff(bool bOnOff);

struct DestroyItemStruct
{
	dword header;
	dword zero;
	dword constant;
	word id;
	word index;
};

struct SendPckStruct
{
	dword header;
	dword zero;
	word op;
	word opEx;
	byte id[4];
};

#endif